package com.luban.springmybatis;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;


//定义mybatis的包扫描注解：MyMapperScan
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(MyMapperScannerRegistrar.class)
public @interface MyMapperScan {

    String[] basePackages() default {};

}
